Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redesign: Academic Path - Schedule #1445

Open
wants to merge 20 commits into
base: ui/redesign
Choose a base branch
from

Conversation

Granja5
Copy link

@Granja5 Granja5 commented Jan 18, 2025

Closes #1424

Since there are no classes this week, to completely test the schedule page we need to add mock lectures. So, when the page becomes ready to merge we need to delete them first.

Review checklist

  • Terms and conditions reflect the current change
  • Contains enough appropriate tests
  • If aimed at production, writes a new summary in whatsnew/whatsnew-pt-PT
  • Properly adds an entry in changelog.md with the change
  • If PR includes UI updates/additions, its description has screenshots
  • Behavior is as expected
  • Clean, well-structured code

@Granja5 Granja5 self-assigned this Jan 18, 2025
Copy link

codecov bot commented Jan 18, 2025

Codecov Report

Attention: Patch coverage is 5.26316% with 144 lines in your changes missing coverage. Please review.

Project coverage is 11%. Comparing base (7d074d2) to head (54ae46d).
Report is 1 commits behind head on ui/redesign.

❌ Your project check has failed because the head coverage (11%) is below the target coverage (70%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##           ui/redesign   #1445    +/-   ##
============================================
- Coverage           11%     11%    -0%     
============================================
  Files              270     274     +4     
  Lines             7358    7492   +134     
============================================
+ Hits               807     808     +1     
- Misses            6551    6684   +133     

@Granja5 Granja5 marked this pull request as ready for review January 21, 2025 05:53
@DGoiana
Copy link
Collaborator

DGoiana commented Jan 21, 2025

Care for the use of CardTimeline and the Generic Timeline previously built

…onalities to the general timeline. Slight visual improvements.
@Granja5
Copy link
Author

Granja5 commented Jan 21, 2025

Care for the use of CardTimeline and the Generic Timeline previously built

Now using CardTimeline and the Generic Timeline. Please verify if the changes made to the generic timeline in order to support the same functionalities as the schedule_timeline are correct and can be done without compromising its use for other pages.

SchedulePageState createState() => SchedulePageState();
}

class SchedulePageState extends State<SchedulePage> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this needs to be stateful. You can just create it as StatelessWidget and pass DateTime now as parameter

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed it to a StatelessWidget and rebased the branch with the latest ui/redesign updates, but encountered a new issue. The update to the general page layout uses extendBody: true to allow the body to appear behind the bottom navbar, but that is making the padding between each day's content to extend unexpectedly. I am not sure why that is happening or how to fix it.

Granja5 and others added 3 commits January 30, 2025 02:03
… in sync; changed SchedulePage from StatefulWidget to Stateless.
…ectures in the week; refactor: renamed academic_schedule_card.dart to schedule_day_timeline.dart for consistency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants